<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
	<s:head theme="ajax"/>
    <title>Création de nouveau compte</title>
</head>

<body>

<h3>Création de nouveau compte</h3>

<s:form action="register" validate="true">
	<s:textfield name="username" value="%{user.username}" label="Nom d'utilisateur" />
	<s:textfield name="email" value="%{user.email}" label="E-mail" /> 
	<s:password name="password" label="Mot de passe" />
    
	<s:submit value="Enregistrer"/>
</s:form>

<s:url id="helpURL" action="help" />
<s:a href="%{helpURL}" theme="ajax" targets="helpDIV">Help!</s:a> 
<s:div id="helpDIV" theme="ajax"></s:div>

</body>
</html>
